package test1To10;

import java.util.Scanner;

/**
 * 写出一个程序，接受一个正浮点数值，输出该数值的近似整数值。如果小数点后数值大于等于5,向上取整；小于5，则向下取整
 */
public class Test07 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double v = scanner.nextDouble();
        int a = (int) v;
        if ((v-a)>=0.5){
            a = (int) (v+0.5);
        }

        System.out.println(a);
    }
}
